package com.wzx.studyspringboot.mapper;


import com.wzx.studyspringboot.domain.Product;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


/**
 * @ClassName ProductMapper
 * @Description TODO
 * @Author wuzhixuan
 * @Date 2018/12/28 17:19
 * @Version 1.0
 */

@Mapper
@Repository
public interface ProductMapper  {
    public Product findProductById(Long id);

    public void saveProduct(Product product);

    public void deleteProduct(Long id);
}
